[INFO] cloning repository https://github.com/wuxxy/http_server
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wuxxy/http_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwuxxy%2Fhttp_server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwuxxy%2Fhttp_server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 942eb00b42de5ba90266441148368dc2f14467a5
[INFO] fixing wuxxy/http_server against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwuxxy%2Fhttp_server" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/wuxxy/http_server
[INFO] finished tweaking git repo https://github.com/wuxxy/http_server
[INFO] tweaked toml for git repo https://github.com/wuxxy/http_server written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/wuxxy/http_server on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/wuxxy/http_server already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a5c755ad9c13ece2fd490e7cd75f43e84e1452dea187b6f9e5d5c4d0220c1a25
[INFO] running `Command { std: "docker" "start" "a5c755ad9c13ece2fd490e7cd75f43e84e1452dea187b6f9e5d5c4d0220c1a25", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a5c755ad9c13ece2fd490e7cd75f43e84e1452dea187b6f9e5d5c4d0220c1a25" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a5c755ad9c13ece2fd490e7cd75f43e84e1452dea187b6f9e5d5c4d0220c1a25", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a5c755ad9c13ece2fd490e7cd75f43e84e1452dea187b6f9e5d5c4d0220c1a25" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking http_server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected one of `>`, a const expression, lifetime, or type, found `^`
[INFO] [stdout]  --> src/connection.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct RequestHeaders<'a>{
[INFO] [stdout]   |        -------------- while parsing this struct
[INFO] [stdout] 3 |     content_length: usize,
[INFO] [stdout] 4 |     host: Option<^'a str>,
[INFO] [stdout]   |                  ^ expected one of `>`, a const expression, lifetime, or type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `>`, a const expression, lifetime, or type, found `^`
[INFO] [stdout]  --> src/connection.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct RequestHeaders<'a>{
[INFO] [stdout]   |        -------------- while parsing this struct
[INFO] [stdout] 3 |     content_length: usize,
[INFO] [stdout] 4 |     host: Option<^'a str>,
[INFO] [stdout]   |                  ^ expected one of `>`, a const expression, lifetime, or type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `content_length` in this scope
[INFO] [stdout]   --> src/connection.rs:15:25
[INFO] [stdout]    |
[INFO] [stdout]  3 |     content_length: usize,
[INFO] [stdout]    |     -------------- a field by that name exists in `Self`
[INFO] [stdout] ...
[INFO] [stdout] 15 |                         content_length = value.parse::<usize>().unwrap_or(0);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `host` in this scope
[INFO] [stdout]   --> src/connection.rs:17:25
[INFO] [stdout]    |
[INFO] [stdout] 17 |                         host = Some(value);
[INFO] [stdout]    |                         ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]    |
[INFO] [stdout] 17 |                         let host = Some(value);
[INFO] [stdout]    |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `content_type` in this scope
[INFO] [stdout]   --> src/connection.rs:19:25
[INFO] [stdout]    |
[INFO] [stdout] 19 |                         content_type = Some(value);
[INFO] [stdout]    |                         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]    |
[INFO] [stdout] 19 |                         let content_type = Some(value);
[INFO] [stdout]    |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `content_length` in this scope
[INFO] [stdout]   --> src/connection.rs:24:21
[INFO] [stdout]    |
[INFO] [stdout]  3 |     content_length: usize,
[INFO] [stdout]    |     -------------- a field by that name exists in `Self`
[INFO] [stdout] ...
[INFO] [stdout] 24 |                     content_length,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `host` in this scope
[INFO] [stdout]   --> src/connection.rs:25:21
[INFO] [stdout]    |
[INFO] [stdout] 25 |                     host,
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `content_type` in this scope
[INFO] [stdout]   --> src/connection.rs:26:21
[INFO] [stdout]    |
[INFO] [stdout] 26 |                     content_type,
[INFO] [stdout]    |                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/connection.rs:30:26
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn handle_connection(mut stream: TcpStream){
[INFO] [stdout]    |                          ----^^^^^^
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req_method`
[INFO] [stdout]   --> src/connection.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let req_method = parts.next().expect("missing method");
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_method`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req_address`
[INFO] [stdout]   --> src/connection.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let req_address = parts.next().expect("missing address");
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req_protocol`
[INFO] [stdout]   --> src/connection.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let req_protocol = parts.next().expect("missing protocol");
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_protocol`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `http_server` (bin "http_server" test) due to 7 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0425]: cannot find value `content_length` in this scope
[INFO] [stdout]   --> src/connection.rs:15:25
[INFO] [stdout]    |
[INFO] [stdout]  3 |     content_length: usize,
[INFO] [stdout]    |     -------------- a field by that name exists in `Self`
[INFO] [stdout] ...
[INFO] [stdout] 15 |                         content_length = value.parse::<usize>().unwrap_or(0);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `host` in this scope
[INFO] [stdout]   --> src/connection.rs:17:25
[INFO] [stdout]    |
[INFO] [stdout] 17 |                         host = Some(value);
[INFO] [stdout]    |                         ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]    |
[INFO] [stdout] 17 |                         let host = Some(value);
[INFO] [stdout]    |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `content_type` in this scope
[INFO] [stdout]   --> src/connection.rs:19:25
[INFO] [stdout]    |
[INFO] [stdout] 19 |                         content_type = Some(value);
[INFO] [stdout]    |                         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]    |
[INFO] [stdout] 19 |                         let content_type = Some(value);
[INFO] [stdout]    |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `content_length` in this scope
[INFO] [stdout]   --> src/connection.rs:24:21
[INFO] [stdout]    |
[INFO] [stdout]  3 |     content_length: usize,
[INFO] [stdout]    |     -------------- a field by that name exists in `Self`
[INFO] [stdout] ...
[INFO] [stdout] 24 |                     content_length,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `host` in this scope
[INFO] [stdout]   --> src/connection.rs:25:21
[INFO] [stdout]    |
[INFO] [stdout] 25 |                     host,
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `content_type` in this scope
[INFO] [stdout]   --> src/connection.rs:26:21
[INFO] [stdout]    |
[INFO] [stdout] 26 |                     content_type,
[INFO] [stdout]    |                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/connection.rs:30:26
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn handle_connection(mut stream: TcpStream){
[INFO] [stdout]    |                          ----^^^^^^
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req_method`
[INFO] [stdout]   --> src/connection.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let req_method = parts.next().expect("missing method");
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_method`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req_address`
[INFO] [stdout]   --> src/connection.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let req_address = parts.next().expect("missing address");
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req_protocol`
[INFO] [stdout]   --> src/connection.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let req_protocol = parts.next().expect("missing protocol");
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_protocol`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `http_server` (bin "http_server") due to 7 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "a5c755ad9c13ece2fd490e7cd75f43e84e1452dea187b6f9e5d5c4d0220c1a25", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a5c755ad9c13ece2fd490e7cd75f43e84e1452dea187b6f9e5d5c4d0220c1a25", kill_on_drop: false }`
[INFO] [stdout] a5c755ad9c13ece2fd490e7cd75f43e84e1452dea187b6f9e5d5c4d0220c1a25
